package com.matt.repository;

import com.matt.domain.Children;
import com.matt.domain.ChildrenCouponCard;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import java.util.Date;
import java.util.List;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/7/13
 * *******************************
 */
public interface ChildrenCouponCardRepository extends JpaRepository<ChildrenCouponCard, String> , JpaSpecificationExecutor<ChildrenCouponCard> {


    ChildrenCouponCard findByChildrenIdAndCouponCard(String id, String couponCard);
}
